package com.ruoyi.system.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.AppDynamicMsg;
import com.ruoyi.system.domain.BaseUserPrivileges;

/**
 * 特权用户Service接口
 *
 * @author ruoyi
 * @date 2023-03-09
 */
public interface IBaseUserPrivilegesService extends IService<BaseUserPrivileges> {
    /**
     * 查询特权用户
     *
     * @param id 特权用户主键
     * @return 特权用户
     */
    public BaseUserPrivileges selectBaseUserPrivilegesById(Long id);

    /**
     * 查询特权用户列表
     *
     * @param baseUserPrivileges 特权用户
     * @return 特权用户集合
     */
    public List<BaseUserPrivileges> selectBaseUserPrivilegesList(BaseUserPrivileges baseUserPrivileges);

    /**
     * 新增特权用户
     *
     * @param baseUserPrivileges 特权用户
     * @return 结果
     */
    public int insertBaseUserPrivileges(BaseUserPrivileges baseUserPrivileges);

    /**
     * 修改特权用户
     *
     * @param baseUserPrivileges 特权用户
     * @return 结果
     */
    public int updateBaseUserPrivileges(BaseUserPrivileges baseUserPrivileges);

    /**
     * 批量删除特权用户
     *
     * @param ids 需要删除的特权用户主键集合
     * @return 结果
     */
    public int deleteBaseUserPrivilegesByIds(Long[] ids);

    /**
     * 删除特权用户信息
     *
     * @param id 特权用户主键
     * @return 结果
     */
    public int deleteBaseUserPrivilegesById(Long id);
}
